package com.me.study.javaCore.dynamicProxy;

import com.me.common.util.SleepUtil;

/**
 * 动态代理测试：目标类
 *
 * @author ME
 * @date   2020/4/1
 */
public class TargetImpl implements ITarget {

    @Override
    public int doSome(int i) {
        return i + 1;
    }

    @Override
    public String doSome22(String str) {
        System.out.printf("对请求参数一顿教训 【%s】\n", str);
        SleepUtil.ms(100);
        return "success";
    }

}
